<?php
/**
 * Created by PhpStorm.
 * User: liu85
 * Date: 2019/2/24
 * Time: 15:46
 */

namespace app\admin\validate;


use think\Validate;

class ProductAddValidate extends Validate
{
    protected $rule = [
        'name' => 'require|max:64',
        'icon' => 'require',
        'quota' => 'require',
        'link' => 'require|url',
        'term' => 'require',
        'loanTime' => 'require',
        'interestRate' => 'require',
    ];
}